API writer